import { useRoutes } from 'react-router-dom'
import { constantRouteMap } from './router.config'

const RouterView = () => useRoutes(constantRouteMap)

export default RouterView
